@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Poppins:wght@400;500;600;700&display=swap");

:root {
    --primary-color: #0a1e27;
    --secondary-color: #e9c675;
    --text-light: #cbd5e1;
    --white: #ffffff;
    --max-width: 1200px;
    --header-font: "Playfair Display", serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section__subheader {
    position: relative;
    isolation: isolate;
    margin-bottom: 1rem;
    padding-left: 5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

.section__subheader::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 2px;
    width: 4rem;
    background-color: var(--secondary-color);
}

.section__subheader::after {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-60%, -50%);
    font-size: 8rem;
    font-weight: 600;
    color: var(--white);
    opacity: 0.1;
    z-index: -1;
}

.section__header {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 400;
    font-family: var(--header-font);
    color: var(--white);
}

.btn {
    padding: 0.75rem 1.5rem;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--white);
    background-color: transparent;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.btn:hover {
    background-color: rgba(10, 30, 39, 0.5);
}

.logo a {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--header-font);
    color: var(--white);
}

img {
    display: flex;
    width: 100%;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
}

.header {
    position: relative;
    height: 100vh;
}

.header::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 15rem);
    background-image: radial-gradient(rgba(255, 255, 255, 0),
            var(--primary-color)),
        url("assets/header-1.jpg");
    /* opacity: 0.8; */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;

}

nav {
    position: relative;
    max-width: var(--max-width);
    margin: auto;
    padding: 1rem;
    z-index: 9;
}

.nav__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__links {
    position: absolute;
    right: 1rem;
    top: 68px;
    width: calc(100% - 2rem);
    max-width: 350px;
    padding: 2rem;
    list-style: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    background-color: rgba(10, 30, 39, 0.8);
    border-radius: 10px;
    display: none;
}

.nav__links.open {
    display: flex;
    animation: show-nav 0.3s linear forwards;
}

.nav__links.close {
    animation: hide-nav 0.3s linear forwards;
}

@keyframes show-nav {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes hide-nav {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.nav__links a {
    font-weight: 500;
    color: var(--white);
}

.nav__links a:hover {
    color: var(--secondary-color);
}

.nav__menu__btn {
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.nav__action__btn {
    display: none;
}

.header__container {
    position: relative;
    isolation: isolate;
    height: calc(100% - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__content {
    max-width: 700px;
}

.header__content .section__header {
    font-size: 3rem;
    /* font-weight: 600; */
    /* line-height: 5rem; */
}

.header__content a {
    color: var(--white);
}

.header__content a:hover {
    color: var(--secondary-color);
}

.header__socials {
    position: absolute;
    left: 0;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    transform: translateX(calc(-50% + 1rem)) rotate(90deg);
    display: none;
}

.header__socials a {
    font-size: 1.2rem;
    color: var(--white);
    transform: rotate(-90deg);
}

.header__socials a:hover {
    color: var(--secondary-color);
}

.about {
    background-image: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            var(--primary-color) 8rem);
    overflow: hidden;
}

.about__container {
    padding-top: 0;
    display: grid;
    gap: 5rem 2rem;
    overflow: hidden;
}

.about__image img {
    max-width: 400px;
    margin-inline: auto;
    border-radius: 5px;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.4);
}

/* .about__content-1 .section__subheader::after {
  content: "1";
}

.about__content-2 .section__subheader::after {
  content: "2";
}

.about__content-3 .section__subheader::after {
  content: "3";
}

.about__content-4 .section__subheader::after {
  content: "4";
}

.about__content-5 .section__subheader::after {
  content: "5";
} */

.about__content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about__content a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
}

.about__content a span {
    transition: 0.3s;
}

.about__content a:hover span {
    transform: translateX(10px);
}

.footer {
    background-color: var(--primary-color);
}

.footer__container {
    display: grid;
    gap: 4rem 2rem;
}

.footer__col:first-child {
    max-width: 300px;
}

.footer__logo {
    margin-bottom: 1rem;
}

.footer__col p {
    color: var(--text-light);
}

.footer__col h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.footer__links {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.footer__links a {
    color: var(--text-light);
}

.footer__links a:hover {
    color: var(--secondary-color);
}

.footer__bar {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}


@media (width > 768px) {
    .nav__logo {
        flex: 3;
    }


    .nav__links {
        position: static;
        padding: 0;
        display: flex;
        flex-direction: row;
        background-color: transparent;
    }

    .nav__menu__btn {
        display: none;
    }

    .nav__action__btn {
        justify-content: flex-end;
        display: flex;
        flex: 1;
    }

    .header__container {
        height: calc(100% - 10rem);
    }

    .header__socials {
        display: flex;
    }

    .about__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 10rem 2rem;
    }

    .about__image-1 {
        grid-area: 1/2/2/3;
    }

    .about__image-2 {
        grid-area: 2;
    }

    .about__image-3 {
        grid-area: 3/2/4/3;
    }

    .about__image-4 {
        grid-area: 4;
    }

    .about__image-5 {
        grid-area: 5/2/5/3;
    }

    .about__content {
        margin-left: 6rem;
    }

    .footer__container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* faq */
#faq {
    background: var(--primary-color);
    padding: 84px 0px 144px 134px;
}

.faq-heading {
    display: flex;
    padding-left: 46px;
    margin-bottom: 24px;
}

.faq-heading h3 {
    font-weight: 700;
    font-size: 45.25px;
    line-height: 57px;
    color: white;
    text-transform: uppercase;
}

.faq-heading p {
    font-weight: 400;
    font-size: 13.175px;
    line-height: 20px;
    color: black;
    max-width: 461px;
}

.faq-content {
    width: 100%;
}

.faq-box {
    padding: 35px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid black;
    box-shadow: 14px 14px 60px rgba(59, 42, 130, 0.06);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
}

.faq-box:last-child {
    margin-bottom: 0px;
}

.faq-box-question {
    display: grid;
    grid-template-columns: 1fr 30px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-box-question h4 {
    font-weight: 700;
    font-size: 22.625px;
    line-height: 31px;
    color: white;
}

.faq-box-answer {
    max-height: 0px;
    overflow: hidden;
    transition: all ease-in-out 0.5s;
}

.faq-box-answer p {
    font-weight: 400;
    font-size: 13.175px;
    line-height: 20px;
    color: white;
    padding-top: 20px;
}

.faq-box-container {
    margin-right: 40px;
}

.faq-box-icon {
    display: block;
    position: relative;
    height: 3px;
    transition: background 0.2s ease-out;
    width: 23px;
    margin-left: auto;
}

.faq-box-icon::before,
.faq-box-icon::after {
    background: white;
    content: '';
    position: absolute;
    height: 100%;
    transition: all ease-out 0.2s;
    width: 100%;
    border-radius: 3px;
}

.faq-box-icon::before {
    top: 0px;
}

.faq-box-icon::after {
    transform: rotate(90deg);
    top: 0px;
}

.faq-box-question.active h4 {
    color: var(--secondary-color);
}

.faq-box-question.active .faq-box-icon::after {
    transform: rotate(0deg);
}

@media(max-width:1200px) {
    #faq {
        padding: 20px 0px 20px 20px;
    }
}

@media(max-width:800px) {
    #faq {
        padding: 20px 0px 20px 20px;
    }

    .faq-content {
        grid-template-columns: 1fr;
    }

    .faq-box-container {
        margin-right: 0px;
        padding-right: 20px;
    }
}

@media(max-width:724px) {
    #faq {
        padding: 10px 0px 20px 20px;
    }

    .faq-heading {
        padding: 0px 20px;
    }

    .faq-heading h3 {
        font-weight: 700;
        font-size: 26.2px;
        line-height: 33px;
    }

    .faq-box-question h4 {
        font-weight: 700;
        font-size: 19px;
        line-height: 26px;
    }

    .faq-box {
        padding: 24px 21px;
    }

    .faq-box-icon {
        width: 16px;
    }

    .faq-box-question {
        grid-template-columns: 1fr 16px;
    }
}